package com.example.othree.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.othree.entity.Drone;
import com.example.othree.entity.WeatherHistoryData;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zogran
 * @since 2024-11-12
 */
public interface WeatherHistoryDataService extends IService<WeatherHistoryData> {
    IPage PageList(IPage<WeatherHistoryData> page, Wrapper wrapper);

    IPage WeatherPageList(IPage<WeatherHistoryData> page,
                          String city,
                          String district,
                          String year,
                          String crop,
                          String startPeriod, String endPeriod);
    List<WeatherHistoryData> WeatherList(String city,
                                             String district,
                                             String year,
                                             String crop,
                                             String startDate, String endDate);
}
